﻿<UserControl x:Class="Blacklight.Showcase.Samples.SampleImageViewer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:controls="clr-namespace:Blacklight.Controls;assembly=Blacklight.Controls">
    <Grid>
        <controls:OuterGlowBorder Background="White" CornerRadius="10" Margin="10"
                                  OuterGlowOpacity="0.5" OuterGlowSize="20">

            <Grid>

                <controls:LoadingAnimation AutoPlay="True" Margin="20">
                    <controls:LoadingAnimation.EllipseFill>
                        <RadialGradientBrush>
                            <GradientStop Color="#ff999999"/>
                            <GradientStop Color="#00999999" Offset="1"/>
                        </RadialGradientBrush>
                    </controls:LoadingAnimation.EllipseFill>

                    <TextBlock FontFamily="Verdana" FontSize="12" Foreground="#ff333333"
                           Text="D O W N L O A D I N G  I M A G E" />

                </controls:LoadingAnimation>

                <Image Margin="10" VerticalAlignment="Top" MaxWidth="700" x:Name="image" />
            </Grid>
        </controls:OuterGlowBorder>
    </Grid>
</UserControl>
